<?php

ini_set("display_errors",true);
$host = "10.26.8.221";
$bd = "aq_lacen_gal";
$user = "postgres";
$senha = "sessede01";
$limit = 50;

	
if(!$con= pg_connect("host=$host port=5432 dbname=$bd user=$user password=$senha"))
	return "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resposta>Erro - Conexao com a interface</resposta>";
else
	echo "Erro: ".pg_last_error($con);;


?>
